#include "menuform.h"
#include "ui_menuform.h"

#include <QDockWidget>
#include <TestHRVAlg.h>

MenuForm::MenuForm(QWidget *parent)
    : QWidget(parent)
    , ui(new Ui::MenuForm)
{
    ui->setupUi(this);
    help=new Help();
    op=new Option();
    dataCollectMenu=new DataCollectMenu();



}

MenuForm::~MenuForm()
{
    qDebug()<<"~MenuForm()";
    delete help;
    delete op;
    delete dataCollectMenu;
    delete ui;
}



void MenuForm::on_pb_close_clicked()
{
    this->close();
}


void MenuForm::on_pb_datacollect_clicked()
{
    dataCollectMenu->show();
}


void MenuForm::on_pb_ana_clicked()
{

}


void MenuForm::on_pb_help_clicked()
{
    help->show();
}


void MenuForm::on_pb_option_clicked()
{
    op->show();
}

